Skip to content

bpo-36308: Fix _PyPathConfig_ComputeArgv0 warning#12357

Closed
matrixise wants to merge 1 commit intopython:masterfrom
matrixise:bpo-36308
Closed

bpo-36308: Fix _PyPathConfig_ComputeArgv0 warning#12357
matrixise wants to merge 1 commit intopython:masterfrom
matrixise:bpo-36308

Conversation

@matrixise
Copy link
Copy Markdown
Member

@matrixise matrixise commented Mar 15, 2019

'argv0' may be used uninitialized in this function

https://bugs.python.org/issue36308

'argv0' may be used uninitialized in this function
@matrixise matrixise marked this pull request as ready for review March 15, 2019 20:36
@matrixise
Copy link
Copy Markdown
Member Author

I close the PR, #12441 fixes the issue.

@matrixise matrixise closed this Mar 19, 2019
@vstinner
Copy link
Copy Markdown
Member

When I read your PR, I didn't understand it, but I now think that PR #12441 is the correct: leave sys.path unchanged if sys.argv is empty.

@matrixise
Copy link
Copy Markdown
Member Author

@vstinner you have a better overview than me on the code/project.

@vstinner
Copy link
Copy Markdown
Member

("I didn't understand it": I mean that I didn't understand the root issue, not your PR.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants